package com.ruoyi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.entity.Driver;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * @author : Xuzhaobo
 * @date : 2024-12-14 09:49
 * @description :
 **/
@Mapper
public interface DriverMapper extends BaseMapper<Driver> {


    @Update("update tb_driver set validity_period_identity_card = #{validityPeriodIdentityCard},reverse_photo_card=#{reversePhotoCard} where user_id=#{userId} ")
    void updateCard(Driver driver);
}
